/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import util.Connector;

/**
 *
 * @author Gabriel
 */
public class DAO {

    protected Connector connector;
    protected ResultSet resultSet = null;
    protected String sql = null;

    /**
     * Construtor que inicializa o Connector (interface com o Banco)
     */
    public DAO() throws SQLException, ClassNotFoundException {
        try {
            connector = new Connector();
        } catch (SQLException ex) {
            ex.printStackTrace();
            throw ex;
        } catch (ClassNotFoundException ex) {
            ex.printStackTrace();
            throw ex;
        }
    }
    
}
